package 力扣日常刷题.木22一月.第17天0129;

/**
 * @author 帅小伙
 * @date 2022/1/29
 * @description
 */
public class Demo35JZ左旋转字符串 {

    public String reverseLeftWords(String s, int n) {
        s +=s;
        return s.substring(n,s.length()/2+n);
    }
}
